package com.zongrentaichai.feeder;

public class Feeder {
    public String name;

    public void speak() {
        System.out.println("欢迎来到动物园！");
        System.out.println("我是饲养员"+getName());
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name=name;
    }

}
